package com.carkeeper.serve.service;

import com.carkeeper.pojo.Serve;
import com.carkeeper.pojo.ServeDetail;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

public interface ServeService {
    PageInfo<Serve> findByCondition(Map<String,String> searchMap);

    List findByType2();


    ServeDetail findByDateil(String id);

    /**
     * 下架
     * @param id
     */
    void down(String id);
}
